```html
<script setup lang="ts">
  import { ref } from "vue"

  const valueRef = ref(["React", "Vue"])

  const service = useMachine(tagsInput.machine, {
    get value() {
      return valueRef.value
    },
    onValueChange(details) {
      valueRef.value = details.value
    },
  })
</script>
```
